package com.yixun.qfbao.response.premises.detail.util.resolveLabel;

/**
 * @author zilong.liu
 * @date 2020-9-9
 */

public class ResolveLabelUtilFactory {
	
	public static ResolveImageUtil resolveImageUtil = new ResolveImageUtil();
	
	public static ResolveVideoUtil resolveVideoUtil = new ResolveVideoUtil();
	
	public static ResolveLabelUtil getResolveLabelUtil(String type) {
		switch (type) {
			case "1":
				return resolveImageUtil;
			case "2":
				return resolveVideoUtil;
			default:
				return null;
		}
	}
}
